package bb.lanxing.model.json.club;

import com.google.gson.annotations.SerializedName;

import java.util.List;

import bb.lanxing.model.json.UserAvatarMedal;
import bb.lanxing.util.text.TextUtils;


public class NewsLiker {
    @SerializedName("city_id")
    private long cityId;
    @SerializedName("city")
    private String cityName;
    @SerializedName("flow_id")
    private long flowId;
    private long id;
    @SerializedName("medal_small")
    private List<UserAvatarMedal> medalList;
    private String medalSmall;
    @SerializedName("license_number")
    private String plateNum;
    @SerializedName("pro_name")
    private String proName;
    private int time;
    private int ulevel;
    @SerializedName("user_id")
    private long userId;
    @SerializedName("avatar")
    private String userPic;
    private String username;

    public List<UserAvatarMedal> getMedalList() {
        return this.medalList;
    }

    public void setMedalList(List<UserAvatarMedal> list) {
        this.medalList = list;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String str) {
        this.username = str;
    }

    public long getUserId() {
        return this.userId;
    }

    public void setUserId(long j) {
        this.userId = j;
    }

    public long getCityId() {
        return this.cityId;
    }

    public void setCityId(long j) {
        this.cityId = j;
    }

    public String getMedalSmall() {
        if (TextUtils.isEmptyOrNull(this.medalSmall)) {
            List<UserAvatarMedal> list = this.medalList;
            if (list != null && list.size() > 0) {
                String str = "";
                for (int i = 0; i < this.medalList.size(); i++) {
                    str = i == this.medalList.size() - 1 ? str + this.medalList.get(i).getUrl() : str + this.medalList.get(i).getUrl() + ";";
                }
                this.medalSmall = str;
            } else {
                this.medalSmall = null;
            }
        }
        return this.medalSmall;
    }

    public String getUserPic() {
        return this.userPic;
    }

    public int getUlevel() {
        return this.ulevel;
    }

    public void setMedalSmall(String str) {
        this.medalSmall = str;
    }

    public long getFlowId() {
        return this.flowId;
    }

    public void setFlowId(long j) {
        this.flowId = j;
    }

    public int getTime() {
        return this.time;
    }

    public void setTime(int i) {
        this.time = i;
    }

    public String getCityName() {
        return this.cityName;
    }

    public void setCityName(String str) {
        this.cityName = str;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long j) {
        this.id = j;
    }

    public String getPlateNum() {
        return this.plateNum;
    }

    public void setPlateNum(String str) {
        this.plateNum = str;
    }

    public String getProName() {
        return this.proName;
    }

    public void setProName(String str) {
        this.proName = str;
    }
}
